package com.flashphoner.api.data
{	
	import flash.events.*;
	import flash.net.*;
	[Bindable]
	public class PhoneConfig
	{
		//RTMP server URL
		public static var SERVER_URL:String = "rtmp://192.168.1.5:1935";
		
		//Application name
		public static var APP_NAME:String ="flashphoner_app";		
		
		//Is User Agent on VoIP server required (true/false)
		public static var REGISTER_REQUIRED:Boolean = true;
		
		//Is videocalls support enabled (true/false)	
		public static var VIDEO_ENABLED:Boolean = true;	
		
		//Current version of Flashphoner client
		public static var VERSION:String = "1.0.3.370";
		public static var VERSION_OF_SERVER:String = "";
		
		public function PhoneConfig()
		{			
		}	
		 
		public static function getRandomInt(from:int, to:int):int{
			return int(Math.floor( from + ( Math.random() * ( to - from + 1))));
		}
		
		
	}
}
